package com.mingdong.first.factory.pizza;

public abstract class Pizza {

	protected String name;

	public abstract void prepare();
	
	public void cut(){
		System.out.println(name + "cutting");
	}
	
	public void cook(){
		System.out.println(name + "cooking");
	}
	
	public void box(){
		System.out.println(name + "boxing");
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
}
